//about require js config
//配置信息
var paths = { 
		"jquery":["../plugins/jquery.min"] //把对应的 jquery 这里写对即可
		,"base":"js/base"
		,"index":"js/index"
		,"jquery.nav":"../plugins/jquery.nav"
		,"bootstrap":"../dist/js/bootstrap"
		,"iconfont":"../dist/fonts/iconfont"
		,"owl.carousel":"../plugins/owl.carousel/owl.carousel.min"
		,"owl.carousel2":"../plugins/owl.carousel/owl.carousel2.min"
		,"wow":"../plugins/wow/wow.min"
		,"gridAnimate":"../plugins/gridAnimate"
	}
if (/msie [6|7|8|9]/i.test(navigator.userAgent)){
	paths.html5shiv = "../plugins/html5shiv.min" //HTML5 shim为IE9和IE8提供HTML5元素
	paths.respond = "../plugins/respond.min" //Respond.js为IE9和IE8提供媒体查询支持
};
require.config({
	//define all js file path base on this base path
	//actually this can setting same to data-main attribute in script tag
	//定义所有JS文件的基本路径,实际这可跟script标签的data-main有相同的根路径
	baseUrl:templatePath
	//放弃加载脚本前的等待的秒数。 设置为 0 则禁用此功能。默认是 7 秒。
	,waitSeconds:0
	//define each js frame path, not need to add .js suffix name
	//定义各个JS框架路径名,不用加后缀 .js
	,paths:paths
	//map告诉RequireJS在任何模块之前，都先载入这个css模块
	,map: {
        '*': {
            css: '../plugins/require/css'
        }
    }
	//include NOT AMD specification js frame code
	//包含其它非AMD规范的JS框架
    ,shim: {
        "jquery.nav": ['jquery',"css!../plugins/animate.min"],
		"base": ['jquery'],
        "bootstrap": ['jquery', 'css!../dist/css/bootstrap.min'],
        "owl.carousel": ['jquery','css!../plugins/owl.carousel/owl.carousel'],
        "owl.carousel2": ['jquery','css!../plugins/owl.carousel/owl.carousel2'],
        "gridAnimate": ['jquery']/* ,
		"jquery": [
			,"css!../" + templateFolderName + "/css/style.css"
			,"css!../" + templateFolderName + "/css/responsive.css",
		] */
    }
	,urlArgs: "bust=" +  (new Date()).getTime()
});
 